package newui.bean;

import java.util.List;

/**
 * Created by lex on 2017/7/20.
 */

public class Message {


    /**
     * msgsViewsList : [{"account":null,"addressUrl":"http://42.121.255.86/qyydtest/html/views/3469.html","appointments":null,"author":null,"bookId":0,"books":null,"createTime":null,"detail":null,"endTime":null,"endTime2":null,"handerId":0,"isRead":"y","lastMsgTime":"2016-12-19 14:41:18.0","level":0,"modifyTime":null,"msgContent":"41546545","msgId":1740,"msgImgUrl":"http://121.41.14.211:6080/group1/M00/92/F8/F_AMq1AlMQTiSa6bm2.png","msgType":"2","msgViewId":1523016,"position":null,"sendStartTime":1482129678000,"shortMsg":"41546545","sortNum":0,"startTime":null,"startTime2":null,"status":null,"thirdEnterpriseId":0,"title":"12月19号测试","writeSource":"1"},{"account":null,"addressUrl":"","appointments":null,"author":null,"bookId":186,"books":null,"createTime":null,"detail":null,"endTime":null,"endTime2":null,"handerId":0,"isRead":"y","lastMsgTime":"2016-11-17 17:07:16.0","level":0,"modifyTime":null,"msgContent":"测试","msgId":1725,"msgImgUrl":"","msgType":"17","msgViewId":1520875,"position":null,"sendStartTime":1479373636000,"shortMsg":"测试","sortNum":0,"startTime":null,"startTime2":null,"status":null,"thirdEnterpriseId":0,"title":"您有一条新的公文消息，请查看","writeSource":"1"}]
     * page : {"page":1,"pageNum":2000,"totalNum":2,"totalPage":1}
     */

    private PageBean page;
    private List<MsgsViewsListBean> msgsViewsList;

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public List<MsgsViewsListBean> getMsgsViewsList() {
        return msgsViewsList;
    }

    public void setMsgsViewsList(List<MsgsViewsListBean> msgsViewsList) {
        this.msgsViewsList = msgsViewsList;
    }

    public static class PageBean {
        /**
         * page : 1
         * pageNum : 2000
         * totalNum : 2
         * totalPage : 1
         */

        private int page;
        private int pageNum;
        private int totalNum;
        private int totalPage;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getTotalNum() {
            return totalNum;
        }

        public void setTotalNum(int totalNum) {
            this.totalNum = totalNum;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }
    }

    public static class MsgsViewsListBean {
        /**
         * account : null
         * addressUrl : http://42.121.255.86/qyydtest/html/views/3469.html
         * appointments : null
         * author : null
         * bookId : 0
         * books : null
         * createTime : null
         * detail : null
         * endTime : null
         * endTime2 : null
         * handerId : 0
         * isRead : y
         * lastMsgTime : 2016-12-19 14:41:18.0
         * level : 0
         * modifyTime : null
         * msgContent : 41546545
         * msgId : 1740
         * msgImgUrl : http://121.41.14.211:6080/group1/M00/92/F8/F_AMq1AlMQTiSa6bm2.png
         * msgType : 2
         * msgViewId : 1523016
         * position : null
         * sendStartTime : 1482129678000
         * shortMsg : 41546545
         * sortNum : 0
         * startTime : null
         * startTime2 : null
         * status : null
         * thirdEnterpriseId : 0
         * title : 12月19号测试
         * writeSource : 1
         */

        private Object account;
        private String addressUrl;
        private Object appointments;
        private Object author;
        private int bookId;
        private Object books;
        private Object createTime;
        private Object detail;
        private Object endTime;
        private Object endTime2;
        private int handerId;
        private String isRead;
        private String lastMsgTime;
        private int level;
        private Object modifyTime;
        private String msgContent;
        private int msgId;
        private String msgImgUrl;
        private String msgType;
        private int msgViewId;
        private Object position;
        private long sendStartTime;
        private String shortMsg;
        private int sortNum;
        private Object startTime;
        private Object startTime2;
        private Object status;
        private int thirdEnterpriseId;
        private String title;
        private String writeSource;

        public Object getAccount() {
            return account;
        }

        public void setAccount(Object account) {
            this.account = account;
        }

        public String getAddressUrl() {
            return addressUrl;
        }

        public void setAddressUrl(String addressUrl) {
            this.addressUrl = addressUrl;
        }

        public Object getAppointments() {
            return appointments;
        }

        public void setAppointments(Object appointments) {
            this.appointments = appointments;
        }

        public Object getAuthor() {
            return author;
        }

        public void setAuthor(Object author) {
            this.author = author;
        }

        public int getBookId() {
            return bookId;
        }

        public void setBookId(int bookId) {
            this.bookId = bookId;
        }

        public Object getBooks() {
            return books;
        }

        public void setBooks(Object books) {
            this.books = books;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }

        public Object getDetail() {
            return detail;
        }

        public void setDetail(Object detail) {
            this.detail = detail;
        }

        public Object getEndTime() {
            return endTime;
        }

        public void setEndTime(Object endTime) {
            this.endTime = endTime;
        }

        public Object getEndTime2() {
            return endTime2;
        }

        public void setEndTime2(Object endTime2) {
            this.endTime2 = endTime2;
        }

        public int getHanderId() {
            return handerId;
        }

        public void setHanderId(int handerId) {
            this.handerId = handerId;
        }

        public String getIsRead() {
            return isRead;
        }

        public void setIsRead(String isRead) {
            this.isRead = isRead;
        }

        public String getLastMsgTime() {
            return lastMsgTime;
        }

        public void setLastMsgTime(String lastMsgTime) {
            this.lastMsgTime = lastMsgTime;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public Object getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(Object modifyTime) {
            this.modifyTime = modifyTime;
        }

        public String getMsgContent() {
            return msgContent;
        }

        public void setMsgContent(String msgContent) {
            this.msgContent = msgContent;
        }

        public int getMsgId() {
            return msgId;
        }

        public void setMsgId(int msgId) {
            this.msgId = msgId;
        }

        public String getMsgImgUrl() {
            return msgImgUrl;
        }

        public void setMsgImgUrl(String msgImgUrl) {
            this.msgImgUrl = msgImgUrl;
        }

        public String getMsgType() {
            return msgType;
        }

        public void setMsgType(String msgType) {
            this.msgType = msgType;
        }

        public int getMsgViewId() {
            return msgViewId;
        }

        public void setMsgViewId(int msgViewId) {
            this.msgViewId = msgViewId;
        }

        public Object getPosition() {
            return position;
        }

        public void setPosition(Object position) {
            this.position = position;
        }

        public long getSendStartTime() {
            return sendStartTime;
        }

        public void setSendStartTime(long sendStartTime) {
            this.sendStartTime = sendStartTime;
        }

        public String getShortMsg() {
            return shortMsg;
        }

        public void setShortMsg(String shortMsg) {
            this.shortMsg = shortMsg;
        }

        public int getSortNum() {
            return sortNum;
        }

        public void setSortNum(int sortNum) {
            this.sortNum = sortNum;
        }

        public Object getStartTime() {
            return startTime;
        }

        public void setStartTime(Object startTime) {
            this.startTime = startTime;
        }

        public Object getStartTime2() {
            return startTime2;
        }

        public void setStartTime2(Object startTime2) {
            this.startTime2 = startTime2;
        }

        public Object getStatus() {
            return status;
        }

        public void setStatus(Object status) {
            this.status = status;
        }

        public int getThirdEnterpriseId() {
            return thirdEnterpriseId;
        }

        public void setThirdEnterpriseId(int thirdEnterpriseId) {
            this.thirdEnterpriseId = thirdEnterpriseId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getWriteSource() {
            return writeSource;
        }

        public void setWriteSource(String writeSource) {
            this.writeSource = writeSource;
        }
    }
}
